//
//  ViewController.h
//  TestObjc
//
//  Created by pier on 12-5-30.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController{
    int tickets;
    NSCondition *ticketsCondition;
    NSOperationQueue *queue;
}

- (IBAction)simpleTest;
- (IBAction)exceptionTest;

- (IBAction)stringTest;
- (IBAction)mutableStringTest;


- (IBAction)dateTest;
- (IBAction)timeZoneTest;
- (IBAction)timerTest;

//三种集合
//集合类只能容纳cocoa对象（NSOjbect对象）
//如果想保存一些原始的C数据（例如，int, float, double, BOOL等），则需要将这些原始的C数据封装成NSNumber类型进行存储。
- (IBAction)arrayTest;
- (IBAction)setTest;
- (IBAction)dictTest;

- (IBAction)memoryManage;

- (IBAction)copyTest;

- (IBAction)predicateTest;

- (IBAction)threadTest;
- (IBAction)operationQueueTest;

- (IBAction)SELAndIMP;

- (IBAction)nilTest;
@end
